

# 此示例示意issubclass函数的用法

class A: pass
class B(A): pass
class C(B): pass

print(issubclass(C, A))  # True, C是A的子类
print(issubclass(A, C))  # False
print(issubclass(B, (A, str, int)))  # True
print(issubclass(dict, (str, int)))  # False

